<?php

/*** an integer to check ***/
$int = 'abc1234';
/*** validate the integer ***/
echo FILTER_VALIDATE_INT($int);

?>